package temp;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hanhai.zrb.api.biz.dao.mybatis.base.BaseMapper;

/**
 * 
 * ProjectEmailMapper鏁版嵁搴撴搷浣滄帴鍙ｇ被
 * 
 **/

public interface ProjectEmailMapper extends BaseMapper{


	/**
	 * 
	 * 鏌ヨ锛堟牴鎹富閿甀D鏌ヨ锛�
	 * 
	 **/
	ProjectEmail  selectByPrimaryKey (Long id );

	/**
	 * 
	 * 鍒犻櫎锛堟牴鎹富閿甀D鍒犻櫎锛�
	 * 
	 **/
	int deleteByPrimaryKey (Long id );

	/**
	 * 
	 * 娣诲姞
	 * 
	 **/
	void insert( ProjectEmail record );

	/**
	 * 
	 * 娣诲姞 锛堝尮閰嶆湁鍊肩殑瀛楁锛�
	 * 
	 **/
	int insertSelective( ProjectEmail record );

	/**
	 * 
	 * 淇敼 锛堝尮閰嶆湁鍊肩殑瀛楁锛�
	 * 
	 **/
	int updateByPrimaryKeySelective( ProjectEmail record );

	/**
	 * 
	 * 淇敼锛堟牴鎹富閿甀D淇敼锛�
	 * 
	 **/
	int updateByPrimaryKey ( ProjectEmail record );

	
	List<ProjectEmailDto> queryAll(ProjectEmailDto record);
	
	void updateStatusById(@Param("updateTime")java.util.Date updateTime,@Param("updateId")int updateId,@Param("updateName")String updateName,@Param("list")List<Integer> list);
}